ROBOT_LISTENER_API_VERSION = 2


def start_suite(name, attrs):
    print('Executing start suite %s' % name)

def end_suite(name, attrs):
    print('Executing end suite %s' % name)

def start_test(name, attrs):
    print('Executing start test %s' % name)

def end_test(name, attrs):
    print('Executing end test %s' % name)

def start_keyword(name, attrs):
    # 判断是否弹框
    print('Executing start keyword %s with arguments %s' % (name, attrs['args']))

def end_keyword(name, attrs):
    # 判断是否弹框
    print('Executing end keyword %s with arguments %s' % (name, attrs['args']))

def log_file(path):
    print('Test log available at %s' % path)

def close():
    print('All tests executed---close')

def message(message):
    print("message---: %s" % message)

def log_message(msg):
    print("msg----: %s" % msg)